cmake_minimum_required(VERSION 3.5)
project(flashros_commons)

add_compile_options(-std=c++11)
find_package(catkin REQUIRED COMPONENTS
  roscpp
  std_msgs
  message_generation
)

# 自定义消息相关配置
add_message_files(
  FILES
  BoxesMsg.msg
  points.msg
)

generate_messages(
  DEPENDENCIES
  std_msgs
)

catkin_package(
  INCLUDE_DIRS include
)

include_directories(
  include
  ${catkin_INCLUDE_DIRS}
)

add_executable(flashros_commons_test src/flashros_commons_test.cc)
target_link_libraries(flashros_commons_test ${catkin_LIBRARIES})
